Change Management Instance Attributes

Use this task to change the IP address, VLAN, VRF, or default gateway for a Management Instance while you actively manage the switch over the same instance.

Important

Important

Change the parameters in the following order:
  1. VLAN or VRF

  2. ports-tagged, ports-untagged-, or I-SID

  3. IP address or default gateway

About this task

You cannot change parameters for more than one Management Instance operation at a time.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enter the configuration mode for the Management Instance:

    mgmt {clip | oob | vlan}

  3. Use one of the following Management Instances interfaces to configure the new values:
    1. Configure new Management Instance VLAN parameters:

      convert [vlan <1-4059>] [i-sid <1-16777215>] [ports-tagged {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}] [ports-untagged{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}] [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [gateway <A.B.C.D>] [rollback <0-3600>]

      Important

      Important

      After you configure the new values, the existing Management Instance VLAN is deleted and connectivity to the switch can be lost. You must reconnect to the switch before you can issue the mgmt convert-commit command.

    2. Configure new Management Instance OOB parameters:

      convert [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [gateway <A.B.C.D>] [rollback <0-3600>]

    3. Configure new Management Instance CLIP parameters:

      convert [vrf WORD <1-16>] [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [rollback <0-3600>]

      Note

      Note

      If the VRF does not exist before you issue the convert command, the VRF is automatically created in the background. For this VRF to function properly, you must configure either SPBM Layer 3 VSN or IP interfaces and routing protocols.

  4. Log on to Global Configuration mode to commit the parameter changes:

    mgmt convert-commit

    Note

    Note

    Commit the change within 120 seconds (default) of issuing the mgmt convert-commit command. Otherwise, the configuration changes automatically roll back to the previous configuration.

Examples

The following examples show the change options attributes for a Management Instance VLAN:

Convert a management VLAN to a new VLAN ID:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300
Switch1:(mgmt:vlan)#1 2021-09-24T21:41:54.627Z 4902 CP1 - 0x003c8677 -
00000000 GlobalRouter NLS_BASE INFO Mgmt convert: Dynamically moved the following ports from vlan 10 to 
new mgmt vlan 300  that had ARP entries: 1/1,​
1 2021-09-24T21:41:54.627Z 4902 CP1 - 0x003c8671 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: new 
vlan 300 created successfully​
1 2021-09-24T21:41:54.651Z 4902 CP1 - 0x003c8672 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: existing 
mgmt vlan instance deleted successfully​
1 2021-09-24T21:41:54.719Z 4902 CP1 - 0x003c8673 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: new mgmt 
vlan instance created successfully with IP address 100.1.1.66/24​
1 2021-09-24T21:41:54.719Z 4902 CP1 - 0x003c867e - 00000000 GlobalRouter NLS_BASE INFO Convert on mgmt vlan 
instance: Mgmt convert executed successfully​

.​
<reconnect to switch…>​
Login: rwa
Password: ***​

Mgmt convert: Please issue 'mgmt convert commit' before 120 seconds rollback timer expires otherwise mgmt vlan 
config change will be reverted​
Convert a management VLAN to new IP address in the same subnet and in the same VLAN​:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert ip 10.10.10.30/24
Convert a management VLAN to new IP address in a different subnet.
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN to new VLAN ID with specified port or ports:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 ports-untagged 1/2 ports-tagged 1/4​
Convert a management VLAN to new VLAN ID with a specified I-SID:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 i-sid 4300​
Convert a management VLAN to new VLAN ID with a new IP address and default Gateway:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN with all options:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 ports-untagged 1/2 ports-tagged 1/4 i-sid 43000 
ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN to new I-SID (DvR Leaf only):
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert i-sid 4000
Convert a management VLAN with a faster rollback option (default is 120 seconds):
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 rollback 60​
Convert a management VLAN with no rollback option:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt vlan
Switch:1(mgmt:vlan)#convert vlan 300 rollback 0

The following examples show the change options attributes for Management Instance CLIP.

Convert a management CLIP from one VRF to another VRF. The IP address is the same:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt clip
Switch:1(mgmt:clip)#convert vrf blue

WARNING: the specified vrf does not exist - connectivity to the mgmt clip will be lost until l3vsn or 
ip interfaces for the given vrf are provisioned.​
Continue with this operation (y/n) ? n
Note

Note

If the VRF does not exist before you issue the convert command, the VRF is automatically created in the background. In order for this VRF to function properly, you must configure either SPBM Layer 3 VSN or IP interfaces and routing protocols.

Convert a management CLIP to a new IP address. The VRF is the same:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt clip
Switch:1(mgmt:vlan)#convert ip 30.30.30.100/32
Convert a management CLIP to new IP address and VRF:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt clip
Switch:1(mgmt:vlan)#convert vrf blue ip 30.30.30.100/32

The following examples show the change options attributes for Management Instance Out-Of-Band (OOB):

Convert a management OOB to a new IP address in the same subnet:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt oob
Switch:1(mgmt:vlan)#convert ip 20.20.20.100/24​
Convert a management OOB IP address to a different subnet:
Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#mgmt oob
Switch:1(mgmt:vlan)#convert ip 21.21.21.100/24 gateway 21.21.21.1​

Variable Definitions

The following table defines parameters for the convert command.

Variable Value

<A.B.C.D A.B.C.D | A.B.C.D/X>

Specifies the IP address and subnet mask.

This parameter applies to the following Management Instance interface types:

  • CLIP

  • OOB

  • VLAN

<A.B.C.D>

Specifies the gateway IP address.

This parameter applies to the following Management Instance interface types:

  • OOB

  • VLAN

<1-16777215>

Specifies the service instance identifier (I-SID).

This parameter applies to the Management Instance VLAN interface type.
Note: You can specify the I-SID for a switch not configured as a DvR Leaf node.

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

<0-3600>

Specifies the time in seconds between when the command is issued and when the command changes automatically roll back to the previous configuration.

The default is 120 seconds. To disable the rollback, enter 0.

<2-4059>

Specifies the VLAN ID in the range of 2 to 4059. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. By default, the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998.

This parameter applies to the Management Instance VLAN interface type only.

WORD<0-16>

Specifies the vrf name.

This parameter applies to the Management Instance CLIP interface type only.